package com.wms.service.Impl;

import com.wms.entity.WmsRole;
import com.wms.mapper.RoleMapper;
import com.wms.service.RoleService;
import com.wms.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;
    @Override
    public WmsRole findRoleIdById(long roleId) {
        WmsRole role = roleMapper.findRoleIdById(roleId);
        return role;
    }
}
